CUSTOM Windows API .NET 1.08
Loading...
Searching...
No Matches
Custom.CuCustomWndAPI.COMPort Class Reference

Public Types

enum  Com_Settings_Baudrate : uint
 Com port Settings : Baudrate. More...
 
enum  Com_Settings_Parity : byte
 Com port Settings : Parity. More...
 
enum  Com_Settings_NBits : byte
 Com port Settings : Num Bits. More...
 
enum  Com_Settings_StopBits : byte
 Com port Settings : Stop Bits. More...
 
enum  Com_Settings_FlowControl : byte
 Com port Settings : Flow Control. More...
 

Public Member Functions

 COMPort ()
 Default constructor.
 
override string ToString ()
 

Properties

string Port [get, set]
 
COMPort.Com_Settings_Baudrate Baudrate [get, set]
 
COMPort.Com_Settings_Parity Parity [get, set]
 
COMPort.Com_Settings_NBits NBits [get, set]
 
COMPort.Com_Settings_StopBits StopBits [get, set]
 
COMPort.Com_Settings_FlowControl FlowControl [get, set]
 

Detailed Description

COM Port communication Settings

Member Enumeration Documentation

◆ Com_Settings_Baudrate

Com port Settings : Baudrate.

Enumerator
COM_SETT_BAUDRATE_AUTO 

Indicates that the RS232 is set to auto baudrate

COM_SETT_BAUDRATE_1200 

Indicates that the RS232 baudrate to 1200

COM_SETT_BAUDRATE_2400 

Indicates that the RS232 baudrate to 2400

COM_SETT_BAUDRATE_4800 

Indicates that the RS232 baudrate to 4800

COM_SETT_BAUDRATE_9600 

Indicates that the RS232 baudrate to 9600

COM_SETT_BAUDRATE_19200 

Indicates that the RS232 baudrate to 19200

COM_SETT_BAUDRATE_38400 

Indicates that the RS232 baudrate to 38400

COM_SETT_BAUDRATE_57600 

Indicates that the RS232 baudrate to 57600

COM_SETT_BAUDRATE_115200 

Indicates that the RS232 baudrate to 115200

◆ Com_Settings_FlowControl

Com port Settings : Flow Control.

Enumerator
COM_SETT_FLOW_CONTROL_NONE 

Indicates that the RS232 Flow Control None

COM_SETT_FLOW_CONTROL_HW 

Indicates that the RS232 Flow Control Hardware

COM_SETT_FLOW_CONTROL_XONXOFF 

Indicates that the RS232 Flow Control Xon Xoff (Software)

◆ Com_Settings_NBits

Com port Settings : Num Bits.

Enumerator
COM_SETT_NBITS_8 

Indicates that the RS232 Num bits 8

COM_SETT_NBITS_7 

Indicates that the RS232 Num bits 7

◆ Com_Settings_Parity

Com port Settings : Parity.

Enumerator
COM_SETT_PARITY_NONE 

Indicates that the RS232 Parity None

COM_SETT_PARITY_ODD 

Indicates that the RS232 Parity Odd

COM_SETT_PARITY_EVEN 

Indicates that the RS232 Parity Even

◆ Com_Settings_StopBits

Com port Settings : Stop Bits.

Enumerator
COM_SETT_STOPBITS_1 

Indicates that the RS232 Stop bits 1

COM_SETT_STOPBITS_2 

Indicates that the RS232 Stop bits 2

Member Function Documentation

◆ ToString()

override string Custom.CuCustomWndAPI.COMPort.ToString ( )
inline

Convert the COM Port communication Settings to a String

Referenced by Custom.CuCustomWndAPI.CuCustomWndAPIWrap.EnumCOMPorts().

Property Documentation

◆ Baudrate

COMPort.Com_Settings_Baudrate Custom.CuCustomWndAPI.COMPort.Baudrate
getset

◆ FlowControl

COMPort.Com_Settings_FlowControl Custom.CuCustomWndAPI.COMPort.FlowControl
getset

◆ NBits

COMPort.Com_Settings_NBits Custom.CuCustomWndAPI.COMPort.NBits
getset

◆ Parity

COMPort.Com_Settings_Parity Custom.CuCustomWndAPI.COMPort.Parity
getset

◆ Port

◆ StopBits

COMPort.Com_Settings_StopBits Custom.CuCustomWndAPI.COMPort.StopBits
getset